package com.nguyen.entities;

public class DishItem {
	private int id;
	private String name;
	private String price;
	private int difficulty;
	private int time;
	private int people;
	private String imgUrl;
	private String description;
	
	public void init(int id, String name, String price, int difficult, int time, int people, String imgUrl, String desc, Category category, Publisher publisher){
		this.id = id;
		this.name = name;
		this.price = price;
		this.difficulty = difficult;
		this.time = time;
		this.people = people;
		this.imgUrl = imgUrl;
		this.description = desc;
		this.category  = category;
		
	}
	// category
	private Category category;
	// publisher
	private Publisher publisher;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public int getDifficulty() {
		return difficulty;
	}

	public void setDifficulty(int difficulty) {
		this.difficulty = difficulty;
	}

	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

	public int getPeople() {
		return people;
	}

	public void setPeople(int people) {
		this.people = people;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}


	public Publisher getPublisher() {
		return publisher;
	}

	public void setPublisher(Publisher publisher) {
		this.publisher = publisher;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}
	
}
